package com.demo;

import redis.clients.jedis.Jedis;

/**
 * Created by li_wb on 2018/1/23.
 */
public class SubMain {
    public static void main(String[] arsg) {
        Jedis jedis = new Jedis("localhost", 6379);
        RedisMsgPubSubListener listener = new RedisMsgPubSubListener();
        jedis.subscribe(listener, "redisChatTest");
    }
}
